<!DOCTYPE html>
<script>
    if (window.internals)
        internals.settings.setPreferCompositingToLCDTextEnabled(true);
</script>
<div style="overflow: auto; height: 100px;">
    <div style="height: 1000px">
        <span style="position: relative; z-index: 0">
            <span style="position: relative; z-index: -1">Should be visible</span>
        </span>
    </div>
</div>
